<?php



namespace App\Models\Traits;

use App\Models\Scope\RoleScope;

/**
 *
 * @author Administrator
 */
trait RoleTrait {
    
    protected static function bootRoleTrait()
    {
        static::addGlobalScope(new RoleScope);
    }
}
